<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <p:menu styleClass="panel" type="tiered">
                                <p:menuitem value="Main Page" url="Agent.xhtml"/>    
                                <p:submenu label="Customer">
                                    <p:menuitem value="Add" url="AgentAddCustomer.xhtml" />
                                    <p:menuitem value="Search" url="AgentSearchCustomer.xhtml" />
                                </p:submenu>
                                <p:submenu label="Search">
                                    <p:menuitem value="House" url="AgentSearchHouse.xhtml"/>
                                    <p:menuitem value="Estate" url="AgentSearchEstate.xhtml"/>
                                </p:submenu>
                                <p:menuitem value="Sign Out" action="#{agentbean.logout}"/>
                            </p:menu> 
    </h:body>
</html>

